package com.zsj.comminlibrary.util;

import android.content.Context;

import java.util.Locale;

public class LanguageUtil {
    public static boolean isZh(Context context) {
        Locale locale = context.getResources().getConfiguration().locale;
        String language = locale.getLanguage();
        if (language.endsWith("zh"))
            return true;
        else
            return false;
    }
}
